package com.dfrz.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.dfrz.bean.User;

import java.util.List;
import java.util.Map;

/**
 * Create by keyan on 2021/7/29 11:03
 */
public interface IUserService {

    int addUser(User user);

    List<User> getUsers();

    int delUserById(Integer id);

    List<User> getUsersParm(Map<String,String> parm);

    IPage<User> getUserByPage(Map<String,String>parm,Integer pageNo,Integer pageSize);

    int updateUser(User user);

    User getUserById(Integer id);

    List<Map<String, String>> statisticalRole();

}
